package org.jeecg.modules.crm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.crm.entity.ReceiptReceiptDetail;
import org.jeecg.modules.crm.mapper.ReceiptReceiptDetailMapper;
import org.jeecg.modules.crm.service.IReceiptReceiptDetailService;
import org.springframework.stereotype.Service;

import java.time.Year;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: Receipt Detail
 * @Author: jeecg-boot
 * @Date:   2025-04-22
 * @Version: V1.0
 */
@Service
public class ReceiptReceiptDetailServiceImpl extends ServiceImpl<ReceiptReceiptDetailMapper, ReceiptReceiptDetail> implements IReceiptReceiptDetailService {

	@Autowired
	private ReceiptReceiptDetailMapper receiptReceiptDetailMapper;

	@Override
	public List<ReceiptReceiptDetail> selectByMainId(String mainId) {
		return receiptReceiptDetailMapper.selectByMainId(mainId);
	}
}
